<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:1px;">
  <t:datagrid name="patentList" checkbox="true" fitColumns="false" title="patent" actionUrl="patentController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="id"  field="id"  hidden="false"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="专利号"  field="applicationNo"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="专利类型"  field="patentType"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="名称"  field="title"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请日"  field="filingDate"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="案件状态"  field="caseStatus"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="一般状态"  field="generalStatus"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="公布日期"  field="publicationDate" formatter="yyyy-MM-dd" hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="公布号"  field="publicationNo"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="公告日期"  field="issueAnnouncement" formatter="yyyy-MM-dd" hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="授权号"  field="issueNo"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="申请人"  field="applicants"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="发明人"  field="inventors"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="代理机构名称"  field="ipAgency"  hidden="true" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="第一代理人"  field="firstNamedAttorney"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="patentController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="patentController.do?goAdd" funname="add"></t:dgToolBar>
   <t:dgToolBar title="编辑" icon="icon-edit" url="patentController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="patentController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="patentController.do?goUpdate" funname="detail"></t:dgToolBar>
  </t:datagrid>
  </div>
 </div>
 <script src = "webpage/com/group/patent/patentList.js"></script>		
 <script type="text/javascript">
 $(document).ready(function(){
 		//给时间控件加上样式
 			$("#patentListtb").find("input[name='publicationDate_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#patentListtb").find("input[name='publicationDate_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#patentListtb").find("input[name='issueAnnouncement_begin']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 			$("#patentListtb").find("input[name='issueAnnouncement_end']").attr("class","Wdate").attr("style","height:20px;width:90px;").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 </script>